using MediatR;
using Medical.Domain.DepartmentInfo;
using Medical.ErrorCode;

namespace Medical.Api.Read.Application.Command.DepartmentManagement.Use
{
    /// <summary>
    /// 获取使用记录列表命令
    /// </summary>
    public class GetUseCommands : IRequest<ApiResult<ApiPageIng<UseTable>>>
    {
        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime? StartTime { get; set; }

        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime? EndTime { get; set; }

        /// <summary>
        /// 登记状态（可选查询条件）
        /// </summary>
        public int? RegistrationStatue { get; set; }
        /// <summary>
        /// 页码
        /// </summary>
        public int PageIndex { get; set; } = 1;

        /// <summary>
        /// 每页记录数
        /// </summary>
        public int PageSize { get; set; } = 10;
    }
} 